import request from '@/utils/request'

// 商品评论
export function getGoodsCommentOrder(data:{
    order_id?:number | string;
}) {
    return request({
        url: 'store.goodsComment/order',
        method: 'GET',
        data
    })
}
// 提交评论
export function createGoodsComment(data:{
    order_id?:number | string;
    formData?:string;
}) {
    return request({
        url: 'store.goodsComment/create',
        method: 'POST',
        data
    })
}